package cn.edu.jmu.oelp.pojo;

import java.util.HashSet;

/**
 * @author damao
 */
public class ReqEntitySet {
    private int articleId;
    private int paraId;
    private HashSet<ReqEntity> entities;

    public ReqEntitySet(int articleId, int paraId, HashSet<ReqEntity> entities) {
        this.articleId = articleId;
        this.paraId = paraId;
        this.entities = entities;
    }

    @Override
    public String toString() {
        return "ReqEntitySet{" +
                "articleId=" + articleId +
                ", paraId=" + paraId +
                ", entities=" + entities +
                '}';
    }

    public int getArticleId() {
        return articleId;
    }

    public void setArticleId(int articleId) {
        this.articleId = articleId;
    }

    public int getParaId() {
        return paraId;
    }

    public void setParaId(int paraId) {
        this.paraId = paraId;
    }

    public HashSet<ReqEntity> getEntities() {
        return entities;
    }

    public void setEntities(HashSet<ReqEntity> entities) {
        this.entities = entities;
    }
}
